import { MockMethod } from 'vite-plugin-mock';
import { resultSilent, resultSuccess } from '../_util';
export default [
  {
    url: '/api/user_data/myself',
    method: 'get',
    response: () => {
      return resultSilent({
        Active: false,
        Birthday: '2023-03-30T01:20:35',
        Department: '销售部',
        IsAdmin: false,
        Mail: 'admin@mosturn.com',
        Phone: '15800000000',
        PhotoUrl: '/Image/1668176326567133186.jpg',
        Sex: 'Male',
        Tel: '000-0000000',
        UserId: 'cj',
        UserName: 'Mark Zuckerberg',
      });
    },
  },
  // /api/menu_permission/mysel
  {
    url: '/api/menu_permission/myself',
    method: 'get',
    response: () => {
      return resultSilent([
        {
          id: '1644254746615218178',
          path: '/dev',
          name: 'Dev',
          component: 'LAYOUT',
          redirect: null,
          meta: {
            icon: 'ion:settings-outline',
            orderNo: 0,
            title: '开发文档',
            hideChildrenInMenu: false,
            hideMenu: false,
            hideBreadcrumb: false,
            ignoreKeepAlive: true,
            currentActiveMenu: null,
          },
          children: [
            {
              id: '1644254746615218246',
              path: 'langView',
              name: 'langView',
              component: '/dev/langView/index.vue',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '多语言表',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: null,
            },
            {
              id: '1644254746615218247',
              path: 'fieldView',
              name: 'fieldView',
              component: '/dev/fieldView/index.vue',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '字段预设表',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: null,
            },
            {
              id: '1644254746615218249',
              path: 'routeView',
              name: 'routeView',
              component: '/dev/routeView/index.vue',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '路由表',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: null,
            },
            {
              id: '1644254746615218250',
              path: 'settingView',
              name: 'settingView',
              component: '/dev/settingView/index.vue',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '项目配置表',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: null,
            },
            {
              id: '1644254746615218251',
              path: 'aboutView',
              name: 'aboutView',
              component: '/dev/aboutView/index.vue',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '项目预览表',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: null,
            },
            {
              id: '1644254746615218252',
              path: 'errorView',
              name: 'errorView',
              component: '/dev/errorView/index.vue',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '错误监控表',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: null,
            },
            {
              id: '1655810173530275841',
              path: 'mapsView',
              name: 'MapsView',
              component: '/dev/mapsView/index.vue',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '枚举表',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: null,
            },
            {
              id: '1644254746615218179',
              path: '/page-demo',
              name: 'PageDemo',
              component: null,
              redirect: null,
              meta: {
                icon: 'ion:aperture-outline',
                orderNo: 1,
                title: '页面示例',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: [
                {
                  id: '1644254746615218180',
                  path: 'form',
                  name: 'FormPage',
                  component: null,
                  redirect: '/page-demo/form/basic',
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.page.form',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218181',
                      path: 'highform',
                      name: 'highform',
                      component: '/demo/page/form/highForm/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: '混合表单',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218182',
                      path: 'basic',
                      name: 'FormBasicPage',
                      component: '/demo/page/form/basic/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.formBasic',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218183',
                      path: 'step',
                      name: 'FormStepPage',
                      component: '/demo/page/form/step/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.formStep',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218184',
                      path: 'high',
                      name: 'FormHightPage',
                      component: '/demo/page/form/high/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.formHigh',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                  ],
                },
                {
                  id: '1644254746615218185',
                  path: 'desc',
                  name: 'DescPage',
                  component: null,
                  redirect: '/page-demo/desc/basic',
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.page.desc',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218186',
                      path: 'highdesc',
                      name: 'highdesc',
                      component: '/demo/page/desc/highDesc/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: '混合详情',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218187',
                      path: 'basic',
                      name: 'DescBasicPage',
                      component: '/demo/page/desc/basic/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.descBasic',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218188',
                      path: 'high',
                      name: 'DescHighPage',
                      component: '/demo/page/desc/high/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.descHigh',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                  ],
                },
                {
                  id: '1644254746615218189',
                  path: 'result',
                  name: 'ResultPage',
                  component: null,
                  redirect: '/page-demo/result/success',
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.page.result',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218190',
                      path: 'success',
                      name: 'ResultSuccessPage',
                      component: '/demo/page/result/success/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.resultSuccess',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218191',
                      path: 'fail',
                      name: 'ResultFailPage',
                      component: '/demo/page/result/fail/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.resultFail',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                  ],
                },
                {
                  id: '1644254746615218192',
                  path: 'account',
                  name: 'AccountPage',
                  component: null,
                  redirect: '/page-demo/account/setting',
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.page.account',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218193',
                      path: 'center',
                      name: 'AccountCenterPage',
                      component: '/demo/page/account/center/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.accountCenter',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218194',
                      path: 'setting',
                      name: 'AccountSettingPage',
                      component: '/demo/page/account/setting/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.accountSetting',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                  ],
                },
                {
                  id: '1644254746615218195',
                  path: 'exception',
                  name: 'ExceptionPage',
                  component: null,
                  redirect: '/page-demo/exception/404',
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.page.exception',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218196',
                      path: '403',
                      name: 'PageNotAccess',
                      component: '/sys/exception/Exception.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: '403',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218197',
                      path: '404',
                      name: 'PageNotFound',
                      component: '/sys/exception/Exception.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: '404',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218198',
                      path: '500',
                      name: 'ServiceError',
                      component: '/sys/exception/Exception.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: '500',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218199',
                      path: 'net-work-error',
                      name: 'NetWorkError',
                      component: '/sys/exception/Exception.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.netWorkError',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218200',
                      path: 'not-data',
                      name: 'NotData',
                      component: '/sys/exception/Exception.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.notData',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                  ],
                },
                {
                  id: '1644254746615218201',
                  path: 'list',
                  name: 'ListPage',
                  component: null,
                  redirect: '/page-demo/list/card',
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.page.list',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218202',
                      path: 'highTable',
                      name: 'highTable',
                      component: '/demo/page/list/highTable/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: '混合表格',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218203',
                      path: 'basic',
                      name: 'ListBasicPage',
                      component: '/demo/page/list/basic/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.listBasic',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218204',
                      path: 'card',
                      name: 'ListCardPage',
                      component: '/demo/page/list/card/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.listCard',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218205',
                      path: 'search',
                      name: 'ListSearchPage',
                      component: '/demo/page/list/search/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.page.listSearch',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                  ],
                },
              ],
            },
            {
              id: '1644254746615218206',
              path: '/feat',
              name: 'FeatDemo',
              component: null,
              redirect: null,
              meta: {
                icon: 'ion:git-compare-outline',
                orderNo: 2,
                title: '功能示例',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: [
                {
                  id: '1644254746615218207',
                  path: 'icon',
                  name: 'IconDemo',
                  component: '/demo/feat/icon/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.icon',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218208',
                  path: 'ws',
                  name: 'WebSocket',
                  component: '/demo/feat/ws/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.ws',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218209',
                  path: 'request',
                  name: 'RequestDemo',
                  component: '/demo/feat/request-demo/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.requestDemo',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218210',
                  path: 'session-timeout',
                  name: 'SessionTimeout',
                  component: '/demo/feat/session-timeout/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.sessionTimeout',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218211',
                  path: 'print',
                  name: 'Print',
                  component: '/demo/feat/print/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.print',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218212',
                  path: 'tabs',
                  name: 'TabsDemo',
                  component: '/demo/feat/tabs/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.tabs',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218213',
                      path: 'detail/:id',
                      name: 'TabDetail',
                      component: '/demo/feat/tabs/TabDetail.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.feat.tabDetail',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: '/feat/tabs',
                      },
                      children: null,
                    },
                  ],
                },
                {
                  id: '1644254746615218214',
                  path: 'breadcrumb',
                  name: 'BreadcrumbDemo',
                  component: null,
                  redirect: '/feat/breadcrumb/flat',
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.breadcrumb',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218215',
                      path: 'flat',
                      name: 'BreadcrumbFlatDemo',
                      component: '/demo/feat/breadcrumb/FlatList.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.feat.breadcrumbFlat',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218216',
                      path: 'flatDetail',
                      name: 'BreadcrumbFlatDetailDemo',
                      component: '/demo/feat/breadcrumb/FlatListDetail.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.feat.breadcrumbFlatDetail',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: '/feat/breadcrumb/flat',
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218217',
                      path: 'children',
                      name: 'BreadcrumbChildrenDemo',
                      component: '/demo/feat/breadcrumb/ChildrenList.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.feat.breadcrumbChildren',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: [
                        {
                          id: '1644254746615218218',
                          path: 'childrenDetail',
                          name: 'BreadcrumbChildrenDetailDemo',
                          component: '/demo/feat/breadcrumb/ChildrenListDetail.vue',
                          redirect: null,
                          meta: {
                            icon: null,
                            orderNo: 0,
                            title: 'routes.demo.feat.breadcrumbChildrenDetail',
                            hideChildrenInMenu: false,
                            hideMenu: false,
                            hideBreadcrumb: false,
                            ignoreKeepAlive: false,
                            currentActiveMenu: '/feat/breadcrumb/children',
                          },
                          children: null,
                        },
                      ],
                    },
                  ],
                },
                {
                  id: '1644254746615218219',
                  path: 'context-menu',
                  name: 'ContextMenuDemo',
                  component: '/demo/feat/context-menu/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.contextMenu',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218220',
                  path: 'download',
                  name: 'DownLoadDemo',
                  component: '/demo/feat/download/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.download',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218221',
                  path: 'click-out-side',
                  name: 'ClickOutSideDemo',
                  component: '/demo/feat/click-out-side/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.clickOutSide',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218222',
                  path: 'img-preview',
                  name: 'ImgPreview',
                  component: '/demo/feat/img-preview/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.imgPreview',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218223',
                  path: 'copy',
                  name: 'CopyDemo',
                  component: '/demo/feat/copy/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.copy',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218224',
                  path: 'msg',
                  name: 'MsgDemo',
                  component: '/demo/feat/msg/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.msg',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218225',
                  path: 'watermark',
                  name: 'WatermarkDemo',
                  component: '/demo/feat/watermark/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.watermark',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218226',
                  path: 'ripple',
                  name: 'RippleDemo',
                  component: '/demo/feat/ripple/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.ripple',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218227',
                  path: 'full-screen',
                  name: 'FullScreenDemo',
                  component: '/demo/feat/full-screen/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.fullScreen',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218228',
                  path: '/error-log',
                  name: 'ErrorLog',
                  component: '/sys/error-log/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.errorLog',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218229',
                  path: 'excel',
                  name: 'Excel',
                  component: null,
                  redirect: '/feat/excel/customExport',
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.excel.excel',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218230',
                      path: 'customExport',
                      name: 'CustomExport',
                      component: '/demo/excel/CustomExport.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.excel.customExport',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218231',
                      path: 'jsonExport',
                      name: 'JsonExport',
                      component: '/demo/excel/JsonExport.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.excel.jsonExport',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218232',
                      path: 'arrayExport',
                      name: 'ArrayExport',
                      component: '/demo/excel/ArrayExport.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.excel.arrayExport',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218233',
                      path: 'importExcel',
                      name: 'ImportExcel',
                      component: '/demo/excel/ImportExcel.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.excel.importExcel',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                  ],
                },
                {
                  id: '1644254746615218234',
                  path: 'testTab/:id',
                  name: 'TestTab',
                  component: '/demo/feat/tab-params/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.tab',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218235',
                      path: 'testTab/id1',
                      name: 'TestTab1',
                      component: '/demo/feat/tab-params/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.feat.tab1',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218236',
                      path: 'testTab/id2',
                      name: 'TestTab2',
                      component: '/demo/feat/tab-params/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.feat.tab2',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                  ],
                },
                {
                  id: '1644254746615218237',
                  path: 'testParam/:id',
                  name: 'TestParam',
                  component: null,
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'routes.demo.feat.menu',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: [
                    {
                      id: '1644254746615218238',
                      path: 'sub1',
                      name: 'TestParam_1',
                      component: '/demo/feat/menu-params/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.feat.menu1',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                    {
                      id: '1644254746615218239',
                      path: 'sub2',
                      name: 'TestParam_2',
                      component: '/demo/feat/menu-params/index.vue',
                      redirect: null,
                      meta: {
                        icon: null,
                        orderNo: 0,
                        title: 'routes.demo.feat.menu2',
                        hideChildrenInMenu: false,
                        hideMenu: false,
                        hideBreadcrumb: false,
                        ignoreKeepAlive: false,
                        currentActiveMenu: null,
                      },
                      children: null,
                    },
                  ],
                },
              ],
            },
            {
              id: '1644254746615218240',
              path: '/testdemo',
              name: 'testdemo',
              component: null,
              redirect: null,
              meta: {
                icon: 'ion:git-compare-outline',
                orderNo: 3,
                title: '测试示例',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: [
                {
                  id: '1644254746615218241',
                  path: 'voucher',
                  name: 'voucher',
                  component: '/demo/testdemo/voucher/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: '凭证demo',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1663729717368324098',
                  path: 'wsTest',
                  name: 'wsTest',
                  component: '/demo/testdemo/wsTest/index.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'ws测试',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1658386788378476545',
                  path: '/kanbantest',
                  name: 'kanbantest',
                  component: '/demo/testdemo/bigScreenDemo/help.vue',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 4,
                    title: '看板测试',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
              ],
            },
            {
              id: '1644254746615218242',
              path: '/docdemo ',
              name: 'docdemo',
              component: null,
              redirect: null,
              meta: {
                icon: 'ion:git-compare-outline',
                orderNo: 3,
                title: '文档列表',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: [
                {
                  id: '1644254746615218244',
                  path: 'https://www.antdv.com/components/overview-cn/',
                  name: 'antdvdoc',
                  component: null,
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'ant-design-vue组件',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1644254746615218245',
                  path: 'http://doc.vvbin.cn/',
                  name: 'vbendoc',
                  component: null,
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'vben文档',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
                {
                  id: '1671038144385908737',
                  path: 'https://www.tailwindcss.cn/docs/installation',
                  name: 'TailwindCSSDoc',
                  component: null,
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: 'Tailwind CSS',
                    hideChildrenInMenu: false,
                    hideMenu: false,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: null,
                  },
                  children: null,
                },
              ],
            },
          ],
        },
        {
          id: '1642768296044396546',
          path: '/dashboard',
          name: 'Dashboard',
          component: 'LAYOUT',
          redirect: '/analysis',
          meta: {
            icon: 'ant-design:appstore-outlined',
            orderNo: 1,
            title: 'routes.menu.dashboard',
            hideChildrenInMenu: false,
            hideMenu: false,
            hideBreadcrumb: false,
            ignoreKeepAlive: true,
            currentActiveMenu: null,
          },
          children: [
            {
              id: '1642768705857257473',
              path: '/analysis',
              name: 'Analysis',
              component: '/dashboard/analysis/index',
              redirect: null,
              meta: {
                icon: 'ant-design:alipay-outlined',
                orderNo: 1,
                title: 'routes.menu.analysis',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: true,
                currentActiveMenu: null,
              },
              children: null,
            },
          ],
        },
        {
          id: '1646436958852874241',
          path: '/sale',
          name: 'Sa_Sale',
          component: 'LAYOUT',
          redirect: '/sale/saleOrder',
          meta: {
            icon: null,
            orderNo: 2,
            title: 'routes.menu.Sa_Sale',
            hideChildrenInMenu: false,
            hideMenu: false,
            hideBreadcrumb: false,
            ignoreKeepAlive: true,
            currentActiveMenu: null,
          },
          children: [
            {
              id: '1646436958852874242',
              path: 'saleOrder',
              name: 'Sa_Order',
              component: '/work/sale/order/index',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: 'routes.menu.Sa_Order',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: [
                {
                  id: '1646436958852874243',
                  path: 'edit',
                  name: 'Sa_Order_Edit',
                  component: '/work/sale/order/edit/index',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: '销售订单编辑',
                    hideChildrenInMenu: true,
                    hideMenu: true,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: '/sale/saleOrder',
                  },
                  children: null,
                },
                {
                  id: '1646436958852874244',
                  path: 'detail',
                  name: 'Sa_Order_Detail',
                  component: '/work/sale/order/detail/index',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: '销售订单详情',
                    hideChildrenInMenu: false,
                    hideMenu: true,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: true,
                    currentActiveMenu: '/sale/saleOrder',
                  },
                  children: null,
                },
                {
                  id: '1659478090352427009',
                  path: 'items',
                  name: 'Sa_Order_Items',
                  component: '/work/sale/order/items/index',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: '销售订单明细',
                    hideChildrenInMenu: false,
                    hideMenu: true,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: '/sale/saleOrder',
                  },
                  children: null,
                },
                {
                  id: '1670633603064659970',
                  path: 'tracker',
                  name: 'Sa_Order_Tracker',
                  component: '/work/sale/order/tracker/index',
                  redirect: null,
                  meta: {
                    icon: null,
                    orderNo: 0,
                    title: '销售订单追踪',
                    hideChildrenInMenu: false,
                    hideMenu: true,
                    hideBreadcrumb: false,
                    ignoreKeepAlive: false,
                    currentActiveMenu: '/sale/saleOrder',
                  },
                  children: null,
                },
              ],
            },

            {
              id: '1646436958852874243',
              path: 'edit_1',
              name: 'Sa_Order_Edit_1',
              component: '/work/sale/order/edit/index',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '编辑示例',
                hideChildrenInMenu: true,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                // currentActiveMenu: '/sale/saleOrder',
              },
              children: null,
            },
            {
              id: '1646436958852874244',
              path: 'detail_1',
              name: 'Sa_Order_Detail_1',
              component: '/work/sale/order/detail/index',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '详情示例',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: true,
                // currentActiveMenu: '/sale/saleOrder',
              },
              children: null,
            },
            {
              id: '1670633603064659970',
              path: 'tracker_1',
              name: 'Sa_Order_Tracker_1',
              component: '/work/sale/order/tracker/index',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: '详情示例2',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                // currentActiveMenu: '/sale/saleOrder',
              },
              children: null,
            },
          ],
        },
        {
          id: '1645357381883789313',
          path: '/baseData',
          name: 'Ba_BaseData',
          component: 'LAYOUT',
          redirect: '/baseData/menu',
          meta: {
            icon: null,
            orderNo: 98,
            title: 'routes.menu.Ba_BaseData',
            hideChildrenInMenu: false,
            hideMenu: false,
            hideBreadcrumb: false,
            ignoreKeepAlive: true,
            currentActiveMenu: null,
          },
          children: [
            {
              id: '1645357381883789314',
              path: 'menu',
              name: 'Ba_Menu',
              component: '/work/baseData/menu/index',
              redirect: null,
              meta: {
                icon: null,
                orderNo: 0,
                title: 'routes.menu.Ba_Menu',
                hideChildrenInMenu: false,
                hideMenu: false,
                hideBreadcrumb: false,
                ignoreKeepAlive: false,
                currentActiveMenu: null,
              },
              children: null,
            },
          ],
        },
      ]);
    },
  },
  {
    url: '/api/auth/login',
    method: 'post',
    response: () => {
      return resultSilent({
        Language: '0',
        Ticket:
          'B796158681AC0CA85708FE10398DF2BBF921D160355FB6C39CB97D77D9129816EE0F901F407422D16D3F3AACB8E02357A71C8547C7987BC4828B622F18D4D6D536C30FD702A058E46AF29D42D6ED1011',
        UserId: 'cj',
        UserName: 'Mark Zuckerberg',
      });
    },
  },
  {
    url: '/api/auth/logout',
    method: 'get',
    response: () => {
      return resultSuccess(
        {
          Language: '0',
          Ticket:
            'B796158681AC0CA85708FE10398DF2BBF921D160355FB6C39CB97D77D9129816EE0F901F407422D16D3F3AACB8E02357A71C8547C7987BC4828B622F18D4D6D536C30FD702A058E46AF29D42D6ED1011',
          UserId: 'cj',
          UserName: 'Mark Zuckerberg',
        },
        {
          Msg: '注销成功！',
        },
      );
    },
  },
  {
    url: '/api/sales_order/get',
    method: 'get',
    response: () => {
      return resultSilent({
        BillId: 'SA230630001',
        BillGui: '1674610459338080258',
        CustomerId: 'Apple',
        CustomerName: '苹果',
        DeliveryDate: '2023-06-07T10:46:48',
        Currency: 'RMB',
        State: 'Unsubmitted',
        Creator: 'Tim Cooke',
        CreationDate: '2023-06-30T10:47:00.92',
        SalesReps: 'admin',
        RelationId: null,
        Remarks: null,
        ShowButtonMode: 12,
        BillItems: [
          {
            Id: 15,
            BillGui: '1674610459338080258',
            ItemId: 'ZJ005',
            ItemName: '外星人机箱',
            Description: '80*80',
            Unit: 'cm',
            Quantity: 1,
            Price: 0,
            Amount: 0,
            Tax: 0.3,
            Remarks: null,
            NoTaxPrice: 0,
            TDA: 0,
            DeliveryQty: 0,
            ReturnQty: 0,
          },
        ],
        AuditNodes: [
          {
            Id: '1684005029628870658',
            Name: '审核节点1',
            BillKey: 'Sa_Return',
            ApproveType: 'JointlySign',
            ApproveOrder: 0,
            ApproverType: 'Personnel',
            ActivationCondition: '',
            ApproverRole: '',
            RemarkSets: ['reject'],
            ApproveState: 'WaitToProcess',
            Creator: 'Tony',
            CreationDate: '2023-07-26T08:57:32.367',
            BillGui: '1684004993327169538',
            BillId: 'SR230726001',
            NodeCreationDate: '2023-07-26T08:57:41.007',
            ApprovedAt: null,
            ApproveNodeUsers: [
              {
                Id: 5042,
                ApproveNodeId: '1684005029628870658',
                UserId: 'lhx',
                UserName: 'Evan',
                BillKey: 'Sa_Return',
                ApproveState: 'WaitToProcess',
                ApprovedAt: null,
                Remarks: null,
              },
              {
                Id: 5043,
                ApproveNodeId: '1684005029628870658',
                UserId: 'lxh',
                UserName: 'Adam',
                BillKey: 'Sa_Return',
                ApproveState: 'WaitToProcess',
                ApprovedAt: null,
                Remarks: null,
              },
              {
                Id: 5044,
                ApproveNodeId: '1684005029628870658',
                UserId: 'lyl',
                UserName: 'Lily',
                BillKey: 'Sa_Return',
                ApproveState: 'WaitToProcess',
                ApprovedAt: null,
                Remarks: null,
              },
            ],
          },
          {
            Id: '1684005029758894082',
            Name: '审核节点2',
            BillKey: 'Sa_Return',
            ApproveType: 'JointlySign',
            ApproveOrder: 2,
            ApproverType: 'Personnel',
            ActivationCondition: '',
            ApproverRole: '',
            RemarkSets: ['reject'],
            ApproveState: 'WaitToProcess',
            Creator: 'Tony',
            CreationDate: '2023-07-26T08:57:32.367',
            BillGui: '1684004993327169538',
            BillId: 'SR230726001',
            NodeCreationDate: '2023-07-26T08:57:41.007',
            ApprovedAt: null,
            ApproveNodeUsers: [
              {
                Id: 5045,
                ApproveNodeId: '1684005029758894082',
                UserId: 'lhx21',
                UserName: 'lhx21',
                BillKey: 'Sa_Return',
                ApproveState: 'WaitToProcess',
                ApprovedAt: null,
                Remarks: null,
              },
              {
                Id: 5046,
                ApproveNodeId: '1684005029758894082',
                UserId: 'cx',
                UserName: 'Paul',
                BillKey: 'Sa_Return',
                ApproveState: 'WaitToProcess',
                ApprovedAt: null,
                Remarks: null,
              },
            ],
          },
        ],
      });
    },
  },
] as MockMethod[];
